//============================================================================
// Name        : ScoreFile.cpp
// Author      : Thada Pipatcharoenkij 49270325
// Version     :
// Copyright   : 
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
#include <string>

#include "ScoreFileIO.h"

using namespace std;

int main() {
	ScoreFileIO fileIO;
	fileIO.readInput();
	fileIO.enterNewRecord("Thada 100");
	fileIO.enterNewRecord("Bird 50");
	fileIO.enterNewRecord("Bank 90");
	fileIO.enterNewRecord("Talok 120");
	fileIO.enterNewRecord("Thada 10");
	fileIO.enterNewRecord("Thada 500");
	fileIO.enterNewRecord("Golf 1000");
	fileIO.writeOutput();
	fileIO.readInput();
	return 0;
}
